var filefy = require("filefy");

/* col: ["a", "b", "c"]
 * row: [["a2", "b1", "c1"]]
*/
const export_csv_file = (fileName, col, row) => {
    let builder = new filefy.CsvBuilder(fileName + ".csv");

    builder.setDelimeter(",").setColumns(col).addRows(row).exportFile();
};

export {export_csv_file};
